package edu.sju.chenshu.system.service.sysuser;

import edu.sju.chenshu.common.core.domain.Result;
import edu.sju.chenshu.common.core.domain.vo.LoginUserVO;
import edu.sju.chenshu.common.core.service.BaseService;
import edu.sju.chenshu.system.domain.sysuser.dto.SysUserSaveDTO;

public interface ISysUserService extends BaseService {
    Result<String> login(String userAccount, String password);

    Result<Void> logout(String token);

    Result<LoginUserVO> info(String token);

    Result<Void> add(SysUserSaveDTO sysUserSaveDTO);
}
